From 02b5b034ed076f7dc3ec6559b531737eaeff9d40 Mon Sep 17 00:00:00 2001 From: "iap10@labyrinth.cl.cam.ac.uk" Date: Wed, 2 Feb 2005 15:24:12 +0000 Subject: [PATCH] bitkeeper revision 1.1159.238.7 (4200f09cegOci_6ijw2B4UT2y9odbA) Enforce alignment of i387 data Signed-off-by: ian.pratt@cl.cam.ac.uk --- xen/include/asm-x86/processor.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/xen/include/asm-x86/processor.h b/xen/include/asm-x86/processor.h index 03db60021c..f0cbca1ab8 100644 --- a/xen/include/asm-x86/processor.h +++ b/xen/include/asm-x86/processor.h @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #endif @@ -412,11 +413,11 @@ struct thread_struct { * for segment registers %ds, %es, %fs and %gs: * %ds, %es, %fs, %gs, %eip, %cs, %eflags [, %oldesp, %oldss] */ - unsigned long event_selector; /* 08: entry CS */ - unsigned long event_address; /* 12: entry EIP */ + unsigned long event_selector; /* entry CS */ + unsigned long event_address; /* entry EIP */ - unsigned long failsafe_selector; /* 16: entry CS */ - unsigned long failsafe_address; /* 20: entry EIP */ + unsigned long failsafe_selector; /* entry CS */ + unsigned long failsafe_address; /* entry EIP */ /* Bounce information for propagating an exception to guest OS. */ struct trap_bounce trap_bounce; @@ -435,7 +436,7 @@ struct thread_struct { #ifdef CONFIG_VMX struct arch_vmx_struct arch_vmx; /* Virtual Machine Extensions */ #endif -}; +} __cacheline_aligned; #define IDT_ENTRIES 256 extern idt_entry_t idt_table[]; -- 2.30.2